package mapper;

import com.root.health.bean.ExamInfo;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface ExamMapper {
    public void exam(String main, Timestamp examdate, String examsite, long userid);
    //体检信息添加
    public List<ExamInfo> examByid(long userid);
    //体检信息查询
    public ExamInfo examByExamId(long examId);
    //以体检信息id查询体检信息
    public void examDone(long examId);
    //完成体检内容
    public void examDel(long examid);
    //体检信息删除
    public void examUpd(String main, Timestamp examdate, String examsite,long examState, long examid);
    //体检信息修改
    public Integer examCheck(String main, Timestamp examdate, String examsite, long userid);
    //体检信息重复性校验
}
